package com.hyst.service;

import com.github.pagehelper.Page;
import com.hyst.domain.PurchaseCourseView;

/**
 * @Description:Service
 * @author：dy
 * @Date：2018年08月31日
 */

public interface PurchaseCourseViewService {

    /**
     * @return Page<PurchaseCourseView>
     */
    Page<PurchaseCourseView> list(PurchaseCourseView purchaseCourseView);

    /**
     * @return PurchaseCourseView
     */
    PurchaseCourseView insert(PurchaseCourseView purchaseCourseView);

    /**
     * @return PurchaseCourseView
     */
    PurchaseCourseView getByPriKey(String uniqueid);

    /**
     * @return PurchaseCourseView
     */
    PurchaseCourseView updateSelective(PurchaseCourseView purchaseCourseView);

    /**
     * @return PurchaseCourseView
     */
    PurchaseCourseView update(PurchaseCourseView purchaseCourseView);

    /**
     * @return PurchaseCourseView
     */
    PurchaseCourseView delete(String uniqueid);

    PurchaseCourseView getById(final PurchaseCourseView purchaseCourseView);


}
